package org.klanmichalakow.karcio;

import java.util.Scanner;

public class InputValues {
	public void values(Data input) {
		Scanner scan = new Scanner(System.in);

		System.out.print("Podaj ilosc przejechanych kilometrow: ");
		input.km = scan.nextDouble();

		System.out.print("Podaj ilosc pobranego paliwa: ");
		input.liters = scan.nextDouble();

		scan.close();
	}
}